

export interface IBall {
  id: number;
  name: string;
  image: string;
  price: number;
  count: number;
  title: string;
  description: string;
  favorite?: boolean;
}

interface IFavoritesBalls {
  id: number,
  name: string,
  image: string,
  price: number,
  count: number,
  title: string,
  description: string,
  favorite: false,
  user: {
      email: string,
      fullName: string,
      id: number
}
}
export interface IPropsBall {
  ball: IBall;
  favoriteBalls?: IFavoritesBalls[]
}
